package com.gc.cscott.cli;

import com.gc.cscott.Main;
import com.google.common.collect.ImmutableList;
import com.google.inject.Inject;
import com.google.inject.Injector;
import java.util.List;

/**
 *
 * @author root
 */
public class UnknownCommand implements Command{
    @Inject
    Injector injector;


    public List<String> listHelp() {
        return null;
    }

    public List<String> perform(List<String> pendingArgs) {
        System.out.println("Unknown command passed: "+pendingArgs);
        Main.printHelp(injector, null);
        return ImmutableList.of();
    }
    
}
